Carbon


NewAliasMinimal

Header: Aliases.h Carbon status: Supported

Creates a short alias record quickly.

OSErr NewAliasMinimal (
    const FSSpec *target, 
    AliasHandle *alias
);
target

An FSSpec record for the target of the alias record.

alias

A handle to the newly created alias record. If the function fails to create an alias record, it sets alias to NULL.

function result

A result code.

DISCUSSION

The NewAliasMinimal function creates an alias record that contains only the minimum information necessary to describe the target: the target name, the parent directory ID, the volume name and creation date, and the volume mounting information. The NewAliasMinimal function uses the standard alias record data structure, but it fills in only parts of the record.

The ResolveAlias function never updates a minimal alias record.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/4/2000)